<!--
 * @Description: 
 * @Version: 2.0
 * @Autor: wsh
 * @Date: 2023-06-20 18:06:15
 * @LastEditors: uphldjx 1373577124@qq.com
 * @LastEditTime: 2024-03-28 11:17:23
-->
<!-- 房间管理 -->
<template>
	<BaseContainer>
		<aplid-base-crud ref="crud" class="w-100" v-bind="{...baseConfig,...$attrs}">
       <template v-slot:buildInfoForm="{model,row}">
        <BuildRoomBed v-bind="row" v-model="model[row.prop]" v-model:modelName="model[row.propName]"></BuildRoomBed>
      </template>

			<template v-slot:detailDialog="{ row, show }">
				<BaseDetail :nowRowData="row" v-if="show"></BaseDetail>
			</template>
		</aplid-base-crud>
	</BaseContainer>
</template>

<script setup lang="ts">
import { baseConfig } from './config'
import BaseDetail from './BaseDetail/index.vue'
import BuildRoomBed from '../BuildRoomBed/index.vue'

</script>

<style scoped lang="scss"></style>
